package cn.enilu.flash.bean.entity.blindbox;

import cn.enilu.flash.bean.entity.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Table(name = "t_blind_box")
@Entity
@Data
public class BlindBox extends BaseEntity {
    @Column(name = "blind_name", nullable = false, length = 64)
    private String blindName;

    @Column(name = "blind_img", length = 512)
    private String blindImg;

    @Column(name = "blind_price", nullable = false)
    private Long blindPrice;

    @Column(name = "user_id", length = 64)
    private String userId;

    @Column(name = "available_flag")
    private Boolean availableFlag;

}